package com.sjc.springbootdemo.listener;

import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.ApplicationListener;

/**
 * @Classname MyApplicationStartedEventListener
 * @Description
 * @Date 2020/4/23 17:49
 * @Created by SangJiacun
 */
public class MyApplicationStartedEventListener implements ApplicationListener<ApplicationStartedEvent> {
    @Override
    public void onApplicationEvent(ApplicationStartedEvent applicationStartedEvent) {
        System.out.println("系统启动了。。。");
    }
}
